Incorporating transportation costs into the single and multiple items newsvendor problems

The efficiency and responsiveness of supply chains are vitally dependent on inventory replenishment and transportation decisions. In this paper, we study a supply chain consisting of a single retailer ordering seasonal products within the newsvendor framework. The primary objective of the paper is to investigate the retailer’s decision-making process, aimed at determining the optimal replenishment quantities and selecting the appropriate mix and size of the truck fleet. Initially, we formulate a mathematical model where the retailer exclusively manages a limited fleet of its own trucks for inbound transportation of a single seasonal product. In this context, we determine a lower breakeven point for the fixed transportation cost than what has been previously proposed in the literature. Subsequently, we examine a commonly encountered transportation scenario where the retailer has the opportunity to expand its fleet size by leasing trucks from the external market. The outcomes of the numerical example indicates that the flexibility resulting from the utilization of different types of trucks can lead to reduced overall costs. We also address the practical transportation problem of efficiently shipping various seasonal products solely with the retailer’s own trucks. For this complex problem, we propose an optimal solution procedure based on Lagrangian method. We show that the joint replenishment of multiple products results in cost savings and enhances utilization of the trucks’ capacities.


Introduction
Inventory replenishment and transportation decisions play a crucial role in enhancing the efficiency and responsiveness of supply chain operations.However, in practice, these critical decisions are taken sequentially and independently, leading to suboptimal supply chains performance [1].Typically, the timing and quantity of the orders are established first.Subsequently, the number of trucks needed to transport the specified ordering quantity is determined, resulting in an inefficient utilization of the transportation resources.Therefore, it is essential that inventory and transportation decisions to be made concurrently rather than sequentially.This paper addresses the joint optimization of inventory and transportation problems within the newsvendor framework, for single and multiple items.
The newsvendor problem is one of the classical and popular problems in stochastic inventory management [2].It is concerned with the determination of the optimal ordering quantity for a seasonal product prior to the start of the season and before observing its demand.This classical problem has received growing attention from researchers and practitioners since the pioneering work by Arrow et al. [3].In particular, numerous products experience short selling periods due to the rapid advancements of technology, which has led to shortened product life cycles, and the competitive pressures imposed by time-based competition.Consequently, the newsvendor model can accurately depict such real-life situations.
The retailer in the newsvendor problem incurs a unit purchasing cost, a per-unit shortage cost for unmet demand, and a per-unit holding cost for unsold inventory.In most of the newsvendor problems discussed in the literature, it is assumed that the per-unit transportation cost, often referred to as the less-than-truckload (LTL) assumption, is implicitly included in the unit purchasing costs.However, in this paper, transportation costs-both per-unit and per-truckare not considered as part of the unit purchasing cost; instead, they are explicitly incorporated into the objective functions of the single and multiple item newsvendor problems.The relaxation of the LTL assumption enhances the realism of our proposed models and generate more efficient inventory and transportation policies.
For its inbound transportation, the retailer can exclusively rely on its own fleet of trucks, opts for leased trucks, or decide to completely outsource its transportation operations to thirdparty logistics providers.Furthermore, the retailer can consider shipping portion of the shipment quantity using its capacity-limited truck fleet and lease additional trucks when needed.The integration of these transportation options with inventory replenishment decisions can enhance the retailer's operational efficiencies.Indeed, leasing trucks can result in cost savings when ordering large quantities.Additionally, leasing provides the retailer access to additional trucks without incurring the substantial initial capital expenditure to acquire new trucks.Outsourcing transportation services provides numerous benefits, including economies of scale, capital investment savings, and reduced financial [4].Likewise, outsourcing transportation operations can enhance efficiency, cost control, reliability, and delivery speed [5].In this paper, we investigate the option of leasing trucks to transport a portion of the order quantity for the single item newsvendor problem.
The transportation of single items or multiple items depends on several factors such as the nature of the items, the selected transportation mode, and cost considerations.Transporting multiple items that share similar packaging characteristics, shapes, and weights, can result in cost savings and more efficient utilization of the truck's capacity.Indeed, aggregate shipping streamlines the processes of materials handling, packaging, and loading as it reduces the need for excessive handling and packaging and at the same time aids in the efficient utilization of available space within the trucks.This paper also addresses the muti-item newsvendor problem, taking transportation into consideration when developing the optimal ordering quantity for each item.
The rest of the paper is organized as follows.In the second section, we review papers in the literature that are relevant to the problems discussed in this paper.The third section presents the formulation and solution procedures for three integrated inventory and transportation problems within the newsvendor framework.Initially, we formulate a foundational model where a retailer is transporting a single product, utilizing solely its own fleet of trucks [6].This establishes a baseline for understanding how inventory and transportation challenges are managed with limited logistics resources.In the second model, we expand the retailer's logistics resources by considering the option to lease trucks.This modification allows for a more flexible transportation strategy, accommodating scenarios where the retailer's own fleet may be insufficient due to capacity constraints.The third model further extends the operational scope by relaxing the single-product assumption inherent in the first model.This model acknowledges the multifaceted nature of real-world supply chains, where retailers often need to balance multiple products with varying demand patterns and transportation requirements.Together, the three models offer a thorough examination of the integrated inventory and transportation problem, each introducing greater complexity and closer alignment with real-world scenarios.By progressively relaxing key assumptions and expanding the operational considerations, we provide enhanced insights on the ways retailers can refine their inventory management and transportation policies.The paper concludes with a final section that summarizes key findings and suggests potential avenues for future research.

Literature review
Most of the deterministic and stochastic inventory models assumes LTL transportation mode, as they implicitly include the per-unit transportation cost into the purchasing cost.They further assume that the capacity of a single truck is sufficiently large to accommodate any ordering quantity.On the other hand, the full truck load (FTL) mode, where a fixed fee is charged per truck, is commonly utilized for transporting large quantities of goods.For a comprehensive discussion of various transportation modes, interested readers can refer to the review paper by Engebrethsen and Dauzère-Pe ´rès [7].
The explicit incorporation of transportation costs into inventory models has a significant impact on the performance of supply chains (SC) operations.This has prompted SC researchers to study the implications of jointly optimizing inventory and transportation decisions.Yıldırmaz et al. [8] pointed out that omitting transportation costs can decrease the profit by an average of 2.25% and, in the worst cases, even up to 60%.Mendoza and Ventura [9] also concluded that neglecting transportation costs can increase monthly logistic cost by an average of 14.7% and transportation costs by 88.9%.
The effectiveness and efficiency of SCs can be affected by a variety of transportation challenges.These challenges encompass optimizing delivery routes, determining the number of trucks to deploy, and selecting the types and size of the truck fleet (Golden et al. [10]).The route optimization problem involves finding the most efficient delivery routes considering factors like distance travelled, traffic congestion, and the types of truck used.The feet size problem is concerned with the determination of the appropriate number of vehicles to be utilized to transport a specific load shipment.The joint selection of truck types and the fleet size is commonly referred to as the fleet mix and size problem.Each of these challenges has been extensively studied in transportation literature.
Lippman [11,12], Iwaniec [13], and Aucamp [14] were among the first to consider FTL transportation costs in inventory models.Abdelwahab and Sargious [15] and Swenseth and Godfrey [16] compared the cost performance of FTL and LTL transportation modes when integrated one at a time with inventory decisions.Rieskts and Ventura [17] derived exact algorithms to generate optimal polices for inventory models using FTL and LTL transportation modes.They assumed constant demand over finite and infinite planning horizon.Li and Hai [1] investigated a joint inventory and transportation EOQ-based problem involving a truck capacity constraint.All of the aforementioned papers, which integrated inventory and transportation decisions, were developed within the EOQ framework, assuming deterministic demand.
Very few studies have jointly optimized inventory and transportation decisions in the context of stochastic demand.Zhang et al. [6] generalized the standard newsvendor model to include a per-truck transportation cost in the expected profit function.They showed that the optimal order quantity can be either the newsvendor solution or a multiple of the truck's capacity.Additionally, they provided an upper bound for the freight cost beyond which it becomes unprofitable to place any order with the supplier.Shu et al. [18] studied the impacts of transportation cost on distribution-free newsvendor problems.They formulated the transportation cost as a nonlinear regression function of the shipping quantity.Wangza and Wee [19] included transportation cost into the integrated vendor-buyer inventory model with stochastic demand.Wangza and Wee [20] extended their previous paper to consider freight cost, quantity discount and stochastic demand.Taghizadeh and Venkatachalam [21] considered a multi-item replenishment problem with a piece-wise linear transportation cost under demand uncertainty over a finite planning horizon.
Table 1 classifies existing literature on integrated inventory and transportation models based on multiple dimensions, assisting in positioning our work and highlighting its contributions.The column titled "Transportation cost structure" presents the cost structure adopted by the authors.It indicates whether the authors have explicitly considered the fixed cost per truck and the variable cost that depends on the ordering quantity.It can be observed from Table 1 that most of these models are concentrated on single-echelon environments, based on the assumption of a single-product setting, and exclusively utilized company-owned trucks for transportation.
Compared to the previously reviewed papers, our work introduces three noteworthy contributions.First, we have developed a tighter upper bound for the fixed transportation cost in the context of joint newsvendor and transportation problem when using only owned trucks.For values of the fixed transportation cost below this upper limit, the retailer operational policy is profitable.Our second contribution is the development of a mathematical model and its solution procedure for a common and practical transportation case involving the utilization of either the owned fleet or a mix of owned and leased trucks.Additionally, we have developed an upper bound for the fixed transportation cost of leased trucks.Moreover, the numerical results show that opting for the flexibility and cost advantages of leasing trucks can be an attractive decision for retailers seeking to enhance their transportation operations.Lastly, we have considered the multiple items scenario that enhance the efficient utilization of transportation resources.

Mathematical models and solution procedures
In this section, we present three integrated newsvendor and transportation problems, each formulated within distinct contexts concerning truck ownership and number of ordered products.To ensure clarity, we first outline in Tables 2 and 3 the key symbols used across the three models to denote the parameters, and the random and decision variables, respectively.

Single item newsvendor problem with owned trucks
In this section, we consider the case where the retailer is ordering a single seasonal product, facing a random demand X.It is assumed that the retailer and the supplier are operating under the Ex Works (EXW) Incoterm.Under such agreement, the retailer is fully responsible for transporting goods from the supplier's warehouse to its desired destination.This responsibility includes managing all logistics, covering transportation costs, and bearing risks associated

S
Auxiliary variable denoting the number of units sold during the selling season = Min(Q, X). https://doi.org/10.1371/journal.pone.0304808.t003 with the movement of goods.Further information regarding EXW term is available at https:// www.investopedia.com/terms/e/exw.asp.Therefore, the retailer exclusively utilizes its homogeneous fleet of N trucks, each capable of carrying a load of w units, to transport the ordered quantity Q from the supplier at the beginning of the season.The incurred transportation costs for operating the fleet of truck consist of fixed costs and variable costs.The fixed costs do not depend on the shipment quantity and include costs such as depreciation, insurance, financing costs, maintenance and repairs, and driver wages.On the other hand, the variable costs are incurred for each unit of the product loaded onto the trucks.These costs mainly depend on the fuel consumption when the truck is fully loaded, fuel consumption when the truck is empty, the number of fully and partially loaded trucks, the quantity loaded on each truck, the distance covered, and the driving speed.Our derivation of the mathematical expressions for the transportation costs are based on the assumption of the linear relationship between fuel consumption and truckload [22].Given that the retailer is solely relying on its trucks fleet, then n = n o and Q = Q o .An order of size Q requires n = dQ/we, where dye is the smallest integer larger than y, trucks to be transported with (n − 1) fully loaded trucks and one partially filled truck, carrying [Q − (n − 1)w] units.Therefore, the fuel consumption when transporting Q units, is: The first term in Eq (1) is the fuel consumption of the (n − 1) fully loaded trucks.The next two terms calculate the fuel consumption of the partially loaded truck transporting Q − (n − 1) w units.The last term is the fuel consumed by the m empty trucks when traveling from the retailer to the supplier.
The fuel consumption cost can be obtained by multiplying the fuel consumption in Eq (1) by c f .After simplification, the fuel consumption cost can be expressed as follows: Eq (2) consists of two terms, one being dependent on Q and the other that depends on the number of trucks.As in Stellingwerf et al. [23], it is assumed that the driver's wage constitutes the major fixed cost component when compared to other fixed cost elements.Accordingly, the variable and fixed transportation costs can be expressed as follows: The total transportation cost can then be written as where Based on Eqs ( 5) and ( 6), the total transportation cost function displays a staircase pattern.In the transportation and logistics literature such functional form is commonly known as full truckload, piecewise, or multiple setup cost structure.
Within the context of the joint newsvendor and transportation problems, the goal of the retailer is to determine, prior to the start of the selling season, both the ordering quantity Q and the needed number of trucks that maximize its expected profit, G(Q, n).

GðQ; nÞ
After substituting the expressions of the various expected values on the right-hand side of Eq (7) and simplifying, the expected profit can be rewritten as follows: It is clear from Eq (8) that maximizing G(Q, n) is equivalent to minimizing the expected cost function: which can be expressed as where is the expected cost of the newsvendor problem under LTL mode of transportation.K nvp (Q, n) is a convex function with an optimal ordering quantity given by: The joint optimization of the newsvendor and transportation problems is stated as follows: n is integer.
The first constraint ensures that the loading capacity of the n trucks is enough for transporting the ordered quantity Q. Constraint (12) guarantees that the number of needed trucks to transport Q does not exceed the available number of trucks.Because of the first constraint, both The expected cost function also displays a discontinuous jump of c f o at each interval boundary.Beyond Q nvp , the expected cost function exhibits a strict monotonic increase.Therefore, the optimal ordering quantity, Q*, is either smaller than or equal to Q nvp .Moreover, because of the discontinuous jumps at the interval boundaries, if Q* 6 ¼ Q nvp , then all the trucks utilized for transporting the optimal ordering quantity are operating at full capacity.We next outline a simple procedure in an algorithmic format to solve the joint optimization of the newsvendor and transportation problems with only owned trucks.
Step 1: Find Q nvp using ( 11 In the second step of the solution procedure, all owned trucks are utilized to their maximum loading capacity whenever additional trucks are needed to transport Q nvp .On the other hand, the solution procedure starts with Q nvp as an initial solution if the available trucks are sufficient to accommodate this quantity.Then, the algorithm alternates between steps 4 and 5 until it first encounters an increase in the expected cost function. Illustrative example 1.A retailer is packaging one of its seasonal products in stackable plastic crates.The product is transported using the retailer's fleet of ten small refrigerated trucks, each with a loading capacity of 40 crates.Hereafter, we assume that a single unit of the seasonal product corresponds to one full crate.The seasonal product is facing a random demand, which follows a normal distribution with mean 210 crates and standard deviation of 105 crates.The purchase cost is $3 for each full crate.Any remaining crates in stock at the end of the season costs the retailer $1.The seasonal product is sold at a price of $10 per crate and has no salvage value.However, the retailer incurs a cost $7 for each unit short.Additionally, the fuel consumption for an empty and a full truck are 0.072 and 0.092 gallons per mile, respectively [22].The travelling distance between the supplier and retailer is100 miles.The cost of one gallon of the diesel fuel used by the truck is $4.00, and the driver's wage is $5 per hour for each owned truck.The average speed of the truck is 60 miles/hour.Using Eqs (3) and ( 4), the fixed and variable transportation costs are $84.43 per truck and $0.02 per unit, respectively.The steps for finding the optimal ordering quantity and number of trucks are outlined next.
First iteration Step 1. Q nvp = 290 and n = 8 < 10. ), stop.The algorithm generated the minimum expected cost and its associated optimal ordering quantity and number of trucks in four iterations.The optimal ordering policy is to operate six FTL trucks transporting 240 units with a minimum expected cost of $1983.37 and a maximum realized expect profit of $326.63.
Considering the fixed transportation cost as a critical input parameter for the model, we conducted a sensitivity analysis to assess its impacts on the optimal ordering quantity, number of used trucks, and expected profit.The findings of this analysis are detailed in Table 4.As it can be noticed form the table, the newsvendor solution is optimal for smaller values of the fixed ordering cost.However, for values of c f o exceeding 3, the retailer will exclusively utilize FTL trucks for transporting the ordering quantity.More precisely, the number of trucks to be operated remains unchanged at 7 FTL trucks when the fixed transportation cost varies between 3 and 68.For values of the fixed transportation costs larger than 68, the number of employed trucks is reduced to 6 FTL trucks.An intuitively apparent result that can also be observed in the same table is that an increase in the fixed transportation cost results in a decrease in the optimal order quantity, the number of trucks required, and the expected profit.This aligns with common logistics practices, as a higher fixed transportation cost incites the retailer to place smaller orders, thereby decreasing the number of trucks required and, as a result, reducing transportation expenses.A final noteworthy observation is that when the fixed Zhang et al. [6] showed that when the fixed transportation cost exceeds [K nvp (0) − K nvp (min(w, Q nvp ))], then it is optimal not to place any orders.However, this condition does not ensure the retailer's profitability.It is easy to verify that for c f o values smaller than K nvp (0) − K nvp (min(w, Q nvp )), the optimal policy is also not profitable.Indeed, taking the same illustrative example, K nvp (0) − K nvp (40) = 517.2,yet it remains unprofitable to operate the owned fleet of trucks for c f o values within the range of (139, 517.2).Determining the maximum allowable value for the fixed transportation cost, which would result in positive profit is equivalent to finding the maximum expected profit per truck.Therefore, to guarantee the economic viability of the ordering policy, the fixed transportation cost must be smaller than the maximum expected profit per truck.This optimization problem can be expressed mathematically as follows: The same solution procedure outlined earlier can be applied to solve this optimization problem.For the illustrative example, the maximum expected profit per truck amounts to $138.4385.Consequently, the retailer should not operate its owned feet of trucks for any fixed transportation cost exceeding $138.4385.

Single item newsvendor problem with owned and leased trucks
The retailer is now considering the transportation option that involves operating a mix of owned and leased trucks to handle larger ordering quantities.Opting for leasing trucks provides the retailer with the advantage of accessing additional trucks as required, without the need to invest in acquiring new ones.This option is particularly appealing when facing fluctuating transportation needs because of the random demand, as leasing contracts can be tailored to fit specific durations of the selling season.Hereafter, we assume that transportation costs for leased trucks exceed those of owned trucks.This assumption is realistic to prioritize the operation of owned trucks initially and consider the leasing option only when additional loading capacity is required.Moreover, without loss of generality, we also assume that owned and leased trucks are of the same type having identical loading capacities.Lastly, the retailer has no restriction on the number of trucks that can be leased from the market.
The expected cost for operating both owned and leased trucks can be written as: The joint newsvendor and transportation problem with owned and leased trucks is then mathematically expressed as follows: n o and n l are integers.Constraint (14) states that the ordering quantity is the sum of the quantities transported in the owned and leased trucks.Constraints ( 15) and ( 16) are similar to constraint (6).Constraints (17) ensures that the number of utilized owned trucks is smaller than the number of available trucks.The following lemma provide a structural property of the optimal solution.
Lemma 1: In an optimal solution to the integrated newsvendor and transportation problem with owned and leased trucks, leased trucks are only utilized when the loading capacity of the owned trucks is not sufficient to transport the ordering quantity.
Proof: The proof is straightforward based on the transportation costs assumption for owned and leased trucks.
Using Lemma 1, Q l = 0 and Q l = Q o when n o � N.Moreover, in this case, the expected cost is determined as follows: The same solution procedure developed in the previous section can be used to find the optimal ordering quantity and number of owned trucks to be used.However, when n o > N, the owned trucks can only accommodate Nw units and the remaining quantity, Q l = Q − N w , are transported by the leased trucks.The expected cost is then given by: In such case, the optimal unconstrained newsvendor quantity is: The ordering quantity minimizing the expected cost in (19) should satisfy: We propose the following algorithm to solve the integrated newsvendor and transportation optimization problem involving both owned and leased trucks.It consists of two stages.During the first stage, it solves the optimization problem with only owned trucks.In case the number of trucks obtained by the first stage is not feasible (n o > N), the second phase of the algorithm, utilizing N owned truck, is activated to find the number of leased trucks n l .

Go to step 10
Step 9: If n l < 0, go to step 13 Step 10: Compute K(Nw, Q l , N, n l ) using (19) Step 11: w, and go to step 10.
Step 12. K(Nw, Q l , N, n l ) � K*, go to step 13 Step 13: Stop The second stage of the algorithm is executed only when the optimal number of owned trucks obtained the first stage is equal to the maximum available number of trucks.In this case, all owned trucks are loaded to their full capacity (Q * o ¼ Nw and n * o ¼ N).During this second stage, the algorithm decreases iteratively the number of leased trucks by one until either the expected cost increases for the first time or the number of leased trucks reaches zero.
Illustrative example 2. Suppose that the retailer now has only 4 trucks available from its owned fleet of trucks to transport the ordering quantity from the supplier.The retailer is also considering leasing trucks with same loading capacity, but with fixed and variable transportation costs of $95 per truck and $0.05 per unit, respectively.All other remaining data for the problem are kept the same as in the previous illustrative example.The results of the different steps of the algorithm are outlined below.
Step Stop The optimal solution is to place an order for 240 units, out of which160 units are transported by 4 owned trucks, while the remaining 80 units are shipped using 2 leased trucks, resulting in an expected cost of $2007.77and an expected profit of $302.23.By deciding to lease trucks, the retailer can save $259.23.
A sensitivity analysis is carried out to evaluate the impacts of the fixed transportation cost on the joint inventory and transportation policy.Table 5 reveals that the fixed transportation cost associated with leasing trucks has a diminishing effect on the optimal ordering quantity, number of leased trucks, and expected profit.Moreover, leasing trucks does not yield any additional profit over using exclusively owned trucks when c f l values exceed $278.This breakeven point for the fixed transportation cost of leased trucks is equal to the maximum additional profit per truck that can be achieved through leasing trucks.The maximum added profit per one leased truck can be obtained by solving the following optimization problem:

Multi-item newsvendor problem with owned trucks
In this section, the retailer is managing the inbound transportation of multiple items and their ordering quantities from the same supplier.Its goal is to determine the optimal quantity of each item to be ordered prior to beginning of the season and the required number of trucks to transport all the items that maximize its total expected profit.We assume that all products are packed in the same crates/boxes of the same size to efficiently utilize the transportation and storage capacities.This packing practice is particularly prevalent for various vegetable and fruit products with similar shape and weights, like tomatoes, onions, apples, and oranges.These products are commonly packed in crates with identical dimensions to ensure efficient utilization of truck capacity.Furthermore, it is assumed that the sales of one transported product does not predict or affect the sales of the other.In other words, it is assumed that there is no significant correlation between the sales of the transported products.
The optimization problem for the multi-item case can be mathematically formulated as follow: Subject to: n is integer, where: In the following, we consider minimizing the expected cost function: subject to the same constraints.
For a given number of trucks, n, the objective and constraints of the cost optimization problem are convex.Therefore, the Karush-Kuhn-Tucker (KKT) conditions are necessary and sufficient conditions for the optimal solution.These conditions are as follows: l � 0 and g � 0 where λ and γ are the Lagrangian multipliers of the constraints Q � nw and (n − 1)w < Q, respectively.
Assuming that not ordering any of the items (Q = 0) is a sub-optimal solution, then it is easy to show that in an optimal solution, γ must equal to 0 for any value of n.In this case, KKT conditions reduce to Eq (25) and the following equation: Consider the case λ = 0. From (27), we have In case P M j¼1 Q j n; 0 ð Þ � nw, then {Q j (n, 0), j = 1, . .., M} is optimal for this number of trucks, n.
Suppose now Then, we need find a positive λ to satisfy the KKT condition (25).This positive λ is the solution to the following equation: Let Z(λ) be the left-hand side of Eq (29).Then, Using Eq (27), we get Therefore, Z(λ) is a strictly decreasing function of λ.
Given that Z(0) > 0, we need to determine a positive value of λ that leads to a negative Z(λ) in order to solve Eq (29).Subsequently, we use the bi-section method to find λ(n) such that Z (λ(n)) = 0.It is worth noting that during the search for λ(n), if l � p j þ p j À c j À c v o for item j, we set Q j (n, λ) = 0 because 0 � F(Q j (n, λ)) in Eq (27).In the following, we present the different steps of the algorithm to solve the multi-item newsvendor problem with owned trucks.
Step 3. If n � N set Q = Q nvp and go to step 5.
The steps of the algorithm are similar to the ones employed for the single item problem, with the addition of the bisection method used in step 4 to find the ordering quantities that make their sum equal to the available loading capacity of n trucks.
Illustrative example 3. To efficiently utilize its transportation resources, the retailer has decided to consolidate the ordering of four products from a single supplier.The fixed and variable costs associated with each the ten available trucks for transporting these four items from the supplier are $84 per truck and $0.02 per unit, respectively.The truck's loading capacity is 80 units.The relevant data for the four items is displayed in Table 6.
In step 1 of the algorithm, the newsvendor quantities were (271, 230, 156, 157, 93).The total quantity to be transported is 751, requiring the deployment of 10 trucks.This shipping plan results in an overall cost of $4256.94.After reducing the number of trucks to 9 trucks and solving the equation P M j¼1 Q j ðn; lÞ À nw ¼ 0, the ordering schedule is (262, 223, 149, 86), resulting in an overall cost of $4182.3.As the overall cost is decreased, we reduce the number of trucks once again to 8 trucks.Upon completing step 4 of the algorithm, we obtain the ordering quantities (237, 205, 129, 69), incurring an overall cost of $4224.90.At this point, the algorithm terminates because of the increase in the overall cost.Consequently, the optimal solution is to utilize 9 FTL trucks at an overall cost of $4182.3.
When the four items are ordered individually, their respective optimal ordering policies are shown in Table 7.As can be observed from the same table, the joint replenishment of the four orders led to a cost savings of $33.6 and better utilization of the trucks' capacities.Upon consolidation of the orders, all 9 trucks were fully utilized.In contrast, when the items were ordered independently, 7 FTL and 2 LTL trucks were employed.

Conclusion
This paper presents three main contributions along with their managerial implications.We first develop a mathematical model and propose a simple iterative solution procedure when the retailer depends solely on its owned fleet of trucks.For such situation, it is crucial to monitor the fixed transportation costs to ensure they do not exceed the breakeven point, beyond which the retailer would fail to realize any profit.The retailer should carefully monitor the various components of fixed costs-including insurance, financing costs, maintenance, and repairs-to identify and implement cost reduction strategies.We provide a lower breakeven point for the fixed transportation cost than previously proposed in the literature.Additionally, we investigate the flexible transportation case, wherein the retailer has the option to lease extra trucks from the external market as needed.Such flexibility allows the retailer to handle larger ordering quantities and leading to savings in costs.Finally, we address the problem of efficiently transporting multiple seasonal products by operating exclusively the retailer's owned trucks.We propose an iterative algorithm based on the Lagrangian method to optimally solve this complex optimization problem.The joint replenishment of multiple items enables the retailer to realize cost savings and enhance the utilization of its truck fleet.
A potential extension of the problems addressed in this paper entails an examination of the environmental impacts of the storage and inbound transportation activities when using retailer-owned and leased trucks.Even though leasing newer and more fuel-efficient trucks could lead to higher fixed and variable transportation costs, it has the potential to reduce carbon emissions, ultimately cutting down the overall carbon footprint of the supply chain.Another possible extension is the exploration of outsourcing either a part or the whole inbound transportation process, rather than leasing trucks.This outsourcing could be achieved through collaborations with experienced third-party logistics providers.In addition, examining the impact of transportation costs on the effectiveness of collaboration initiatives, like vendor managed inventory and continuous replenishment [24], is a valuable avenue for future research.Considering the purchase price as a decision variable instead of an externally determined parameter, in the context of general price-dependent demand, presents an interesting extension.This research extension enables the adjustment of prices to compensate for high fixed transportation costs, thereby ensuring profitability.Finally, investigating the impact of supplier discounts on transportation costs for large orders merits further investigation in the future.

Table 2 .hmlTable 3 .
Listing of the models' parameters.Holding cost for each unit of the product unsold by the end of the season v Distance between the supplier and the retailer, measured in miles.NNumber of trucks owned by the retailer w Truck's loading capacity, measured in units of the product Variable transportation cost for the leased truck GPM f Fuel consumption of an empty truck, measured in gallons per mile GPM e Fuel consumption of a full truck, measured in gallons per mile c f Fuel price per gallon D w Hourly driver wage s Average truck speed in miles per hour M Total number of products for the model involving multiple products https://doi.org/10.1371/journal.pone.0304808.t002Listing of the models' random and decision variables.Notation Definition X Random demand for the product over the selling season with probability density function, f(x), and cumulative distribution function, F(x), having mean μ and standard deviation σ Q Total ordering quantity to be transported by the trucks fleet Q o Quantity transported by owned trucks Q l Quantity transported by leased trucks n o Number of used owned trucks n l Number of trucks to be leased n Total number of needed trucks to transport the quantity Q, n = n o + n l L Auxiliary variable denoting the number of units left in stock at the end of the season ) and n = dQ nvp /we Step 2: If n > N, set n = N and Q = nw.Go to step 4. Step 3. If n � N, set Q = Q nvp and go to step 4. Step 4. Compute K(Q, n) using (9) Step 5.If K(Q, n) < K*, do: set K* = K(Q, n), Q* = Q, and n* = n, n !n − 1, Q = nw, and go to step 4. Step 6.If K(Q, n) � K*, stop.